//
//  PhoneStatus.h
//  HollyPhoneSdk
//
//  Created by hollycrm on 2023/3/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PhoneStatus : NSObject
@property(atomic,assign) int callStatus;
@property(atomic,assign) int opViewType;//0语音操控1拨号
@property(atomic,assign) Boolean registered;
@property(atomic,assign) int callSeconds;
@property(atomic,assign) int netState;
@property(atomic,assign) Boolean background;

@property(nonatomic,strong) NSString *callId;
@property(nonatomic,strong) NSString *phoneNum;
@property(nonatomic,assign) Boolean inCall;
@property(nonatomic,assign) Boolean callConected;
@property(nonatomic,assign) Boolean serviceCallMode;//匿名外呼模式

@property(nonatomic,strong) NSString *ip;
@property(nonatomic,strong) NSString *port;
@property(nonatomic,strong) NSDictionary *params;
@property(nonatomic,strong) NSString *fromNum;

@property(nonatomic,assign) bool interrupt;
@property(nonatomic,strong) NSString *pingstr;
@property(atomic,assign) int mediaState;

-(void)reset;
@end

NS_ASSUME_NONNULL_END
